package pl.edu.uj.tcs.blef.protocol;

public class RejectRequest extends Request {

	private String playerNick;
	
	RejectRequest(String message, RequestHandler handler) {
		super(message, handler);
		fill();
	}

	@Override
	protected void fill() {
		this.playerNick = message.split(" ")[1];
	}
	
	public String getPlayerNick(){
		return this.playerNick;
	}
}
